import { createRouter, createWebHashHistory } from "vue-router";

import Home from "@/pages/home/index.vue";

const Test = () => import("@/pages/test/index.vue");

const routes = [
  {
    path: "",
    component: Home,
  },
  {
    path: "/test",
    component: Test,
  },
];

const router = createRouter({
  history: createWebHashHistory(),
  routes: routes,
});

export default router;
